projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d2b409
)
; * src/w32.c (faccessat): Fix last change. (Bug#28207)
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 25 Aug 2017 15:01:19 +0000
(18:01 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 25 Aug 2017 15:01:19 +0000
(18:01 +0300)
src/w32.c
patch
|
blob
|
history
diff --git
a/src/w32.c
b/src/w32.c
index c989af6a46a3d204c73e7344cbbc3970e5db2cc9..131361d7dc49a89247fd734ea20856b15c7f5fa6 100644
(file)
--- a/
src/w32.c
+++ b/
src/w32.c
@@
-3910,7
+3910,7
@@
faccessat (int dirfd, const char * path, int mode, int flags)
/* When dired.c calls us with F_OK and a trailing slash, it actually
wants to know whether PATH is a directory. */
- if (IS_DIRECTORY_SEP (path[strlen (path) - 1]) &&
((mode & F_OK) == F_OK)
)
+ if (IS_DIRECTORY_SEP (path[strlen (path) - 1]) &&
mode == F_OK
)
mode |= D_OK;
/* MSVCRT implementation of 'access' doesn't recognize D_OK, and its